package imagekeeper.data;

import javax.sql.DataSource;
import imagekeeper.dmi.ImageManager;
import imagekeeper.dmi.ImageTagManager;


public class EntityManagerFactory {
    public static ImageManager createImageManager(DataSource ds) {
        return new ImageManagerImpl(ds);
    }
    
    public static ImageTagManager createImageTagManager(DataSource ds) {
        return new ImageTagManagerImpl(ds);
    }
}
